<div id="info_orders" class="table_div">
    <table id="materials_content">
        <tr class="bold head_small">
            <td width="18%">Material No.</td>
            <td width="25%">Name</td>
            <td width="25%">Type</td>
            <td width="18%">Required</td>
            <td width="18%">Used</td>
        </tr>
        <?php foreach ($materials as $i => $material): ?>
            <tr class="table_hov <?php echo fmod($i, 2) ? 'even' : 'odd' ?> ">
                <td><?php echo $material->getPartNumber() ?></td>
                <td><?php echo $material->getName() ?></td>
                <td><?php echo $material->getType() ?></td>
                <td><?php echo $material->getRequired() ?></td>
                <td><?php echo $material->getUsed() ?></td>         
            </tr>
        <?php endforeach; ?>
    </table>
    <div id="pager_order"><?php include_partial('pager', array('pager' => $pagerMaterials, 'url' => url_for('sales_show_materials_order', $order))); ?></div>
</div>